package cn.csc.module.shop.convert.recommend;

import java.util.*;

import cn.csc.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import cn.csc.module.shop.controller.admin.recommend.vo.*;
import cn.csc.module.shop.dal.dataobject.recommend.ShopRecommendDO;

/**
 * 店铺推荐记录 Convert
 *
 * @author liuchuang
 */
@Mapper
public interface ShopRecommendConvert {

    ShopRecommendConvert INSTANCE = Mappers.getMapper(ShopRecommendConvert.class);

    ShopRecommendDO convert(ShopRecommendCreateReqVO bean);

    ShopRecommendDO convert(ShopRecommendUpdateReqVO bean);

    ShopRecommendRespVO convert(ShopRecommendDO bean);

    List<ShopRecommendRespVO> convertList(List<ShopRecommendDO> list);

    PageResult<ShopRecommendRespVO> convertPage(PageResult<ShopRecommendDO> page);

    List<ShopRecommendExcelVO> convertList02(List<ShopRecommendDO> list);

}
